package xcmg.device.dao.mapper.sluggishShard;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.sluggishShard.SluggishShardVO;
import xcmg.device.web.sluggishShard.SluggishShardController;

import java.util.List;

@Mapper
public interface SluggishShardMapper {

    List<SluggishShardVO> getInsertList(@Param("orgId") String orgId);

    boolean insert(SluggishShardVO sluggishShardVO);

    boolean updateById(SluggishShardVO sluggishShardVO);

    List<SluggishShardVO> selectBymaterialNo(@Param("materialNo") String materialNo);

    boolean deleteById(@Param("id") String id);

    List<SluggishShardVO> list(SluggishShardVO sluggishShardVO);

    SluggishShardVO selectById(@Param("id") String id);

    List<SluggishShardVO> selectBatchByIds(List<String> ids);

    List<SluggishShardVO> selectList(SluggishShardVO sluggishShardVO);
}
